/*
 * oil.h
 *
 * realize ec oil function.
 *
 * Copyright (C) 2024 Sinh Micro, Inc.
 * Subject to the GNU Public License, version 2.
 *
 * Author: lixiang<lixiang@sinhmicro.com>
 * 
 * Encoding format: GB2312
 * Version: v1.2.2
 * Date: 2024-11-05
 */

#ifndef __OIL_H__
#define __OIL_H__

#include "hal/inc/types.h"
#include "ec_app_config.h"

#if (CONFIG_USING_OIL == 1)
    uint8_t oil_cur_level_get(void);
    void oil_heat_cnt_set(uint16_t cnt);
#else
    #define oil_cur_level_get() (0)
    #define oil_heat_cnt_set(cnt)
#endif

#endif